/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.sales.hanhishi.client.service;

import br.com.sales.generics.client.HanRequestBuilder;
import br.com.sales.generics.client.request.HannaRequestCallback;
import com.google.gwt.json.client.JSONArray;
import com.google.inject.Inject;
import java.util.Map;

/**
 *
 * @author v
 */
public class HanHisHIService {

    @Inject
    private HanRequestBuilder requestProxy;

    public void getData(Map paramters, HannaRequestCallback callback) {
        JSONArray jSONArray = new JSONArray();
        jSONArray.set(0, requestProxy.formatJson(paramters));

        requestProxy.sendRequest("HanHisHI", "getData", jSONArray, callback);
    }
}
